package se.zens.demo.wsapp.interfaces.model;

import javax.xml.bind.annotation.XmlType;

/**
 * Request for adding new exchange rate
 */
@XmlType
public class AddExchangeRateRequest extends
		AbstractExchangeRatesServiceRequest
{
	private ExchangeRate newRate;

	public ExchangeRate getNewRate()
	{
		return newRate;
	}

	public void setNewRate(ExchangeRate newRate)
	{
		this.newRate = newRate;
	}

	@Override
	public String toString()
	{
		return "AddExchangeRateRequest [newRate=" + newRate + ", userName="
				+ userName + ", password=" + password + ", channel=" + channel
				+ "]";
	}

	
	
	
}
